package com.neu.service;

import com.neu.pojo.Fund;
import com.neu.pojo.User;

import java.util.List;

public interface FundService {
    public int insertFund(Fund fund);
    public Fund getFundByCode(String code);
    public List<Fund> getFundByName(String name);
    public List<Fund> getFundByType(String type);
    public List<Fund> getFundByTypeRandom(String type, int length);
    public List<Fund> getAllFund();
//    public List<Fund> getTypeByPreference(User user);

}
